package edu.fau.scanny.r.stromal.model;

public class CelFile {
	
	private String shortName;
	private String chipFile;
	private Double scalingFactor;
	private Double pPresent;
	private String time; 
	private String group; // medulla or cortex
	private String type; // whole tissue or lymphoid
	
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getChipFile() {
		return chipFile;
	}
	public void setChipFile(String chipFile) {
		this.chipFile = chipFile;
	}
	public Double getScalingFactor() {
		return scalingFactor;
	}
	public void setScalingFactor(Double scalingFactor) {
		this.scalingFactor = scalingFactor;
	}
	public Double getpPresent() {
		return pPresent;
	}
	public void setpPresent(Double pPresent) {
		this.pPresent = pPresent;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((chipFile == null) ? 0 : chipFile.hashCode());
		result = prime * result + ((group == null) ? 0 : group.hashCode());
		result = prime * result + ((pPresent == null) ? 0 : pPresent.hashCode());
		result = prime * result + ((scalingFactor == null) ? 0 : scalingFactor.hashCode());
		result = prime * result + ((shortName == null) ? 0 : shortName.hashCode());
		result = prime * result + ((time == null) ? 0 : time.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CelFile other = (CelFile) obj;
		if (chipFile == null) {
			if (other.chipFile != null)
				return false;
		} else if (!chipFile.equals(other.chipFile))
			return false;
		if (group == null) {
			if (other.group != null)
				return false;
		} else if (!group.equals(other.group))
			return false;
		if (pPresent == null) {
			if (other.pPresent != null)
				return false;
		} else if (!pPresent.equals(other.pPresent))
			return false;
		if (scalingFactor == null) {
			if (other.scalingFactor != null)
				return false;
		} else if (!scalingFactor.equals(other.scalingFactor))
			return false;
		if (shortName == null) {
			if (other.shortName != null)
				return false;
		} else if (!shortName.equals(other.shortName))
			return false;
		if (time == null) {
			if (other.time != null)
				return false;
		} else if (!time.equals(other.time))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		return true;
	}

	
	
	
	

}
